import request from '@/utils/request'

export default {
  // 标的列表
  getList(searchObj) {
    return request({
      url: `/service/admin/lend/list_page`,
      method: 'get',
      params: searchObj
    })
  },

  // 查询标的详情
  show(id) {
    return request({
      url: `/service/admin/lend/show/${id}`,
      method: 'get'
    })
  },

  // 管理平台放贷
  makeLoan(id) {
    return request({
      url: `/service/admin/lend/makeLoan/${id}`,
      method: 'get'
    })
  }

}
